home *** CD-ROM | disk | FTP | other *** search
/ The Macintosh Bible Guide to Games / GameGuideCd.bin / Cheaters / Marathon Stuff / Pfhorte_1.0d22ƒ / Scripts / Multi Sided Poly < prev    next >
Text File  |  1995-08-07  |  254b  |  16 lines

  1. * testing
  2. AskUser Enter the number of sides
  3. segmentLine 1024
  4. set A 360
  5. divide A Result
  6. turn -180
  7. Repeat
  8.     turn A
  9.     newLine 1024
  10.     add Result -1
  11. * since segment line added two points, we can skip the last two.
  12. Until (Result = 2)
  13. lastPoint
  14. makeLine
  15. closePoly
  16.